1 package com.inigoserrano.isvalidator.alfa.formModel;
2
3 import javax.servlet.http.HttpServletRequest;
4
5 import com.inigoserrano.isvalidator.alfa.dataGroup.HTMLFormDataGroup;
6
7 /***
8 * Here the description of the class
9 *
10 * @license@
11 *
12 * @version @version@
13 * @author @author@
14 */
15 public class CheckBoxField extends FormField {
16 private boolean chequeado = false;
17 protected String texto;
18
19 /***
20
21 */
22 public CheckBoxField(String valueToCheck, HTMLFormDataGroup dataGroup) {
23 super(valueToCheck, dataGroup);
24 }
25
26 /***
27
28 */
29 public CheckBoxField(String valueToCheck, HttpServletRequest request) {
30 super(valueToCheck, request);
31 }
32
33 /***
34
35 */
36 public String getTexto() {
37 return texto;
38 }
39
40 /***
41
42 */
43 public boolean isChequeado() {
44 return chequeado;
45 }
46
47 /***
48
49 */
50 public boolean isErroneo() {
51 return false;
52 }
53
54 /***
55
56 */
57 public void setChequeado(boolean chequeado) {
58 this.chequeado = chequeado;
59 }
60
61 /***
62
63 */
64 public void setTexto(String texto) {
65 this.texto = texto;
66 }
67 }
This page was automatically generated by Maven